package com.mi.mapper;

import com.mi.entity.ComplaintSuggestEntity;
import com.mi.entity.DataRequestEntity;
import com.mi.entity.RepairEntity;
import com.mi.entity.ServicePointEntity;
import org.apache.ibatis.annotations.Param;
import com.mi.entity.*;
import java.util.List;

public interface Service_supportMapper {

    /**
     * 查询所有服务网点mapper
     * @return
     */
    public List<ServicePointEntity> queryServicePointMapper();

    /**
     * 添加维修服务
     * @param repairEntity
     * @return
     */
    public boolean insertRepairMapper(RepairEntity repairEntity);

    /**
     * 查询维修服务
     * @param repairEntity
     * @return
     */
    public List<RepairEntity> queryRepairs(RepairEntity repairEntity);

    /**
     * 删除微信服务
     * @param ids
     * @return
     */
    public boolean delRepair(@Param("ids") String[] ids);

    /**
     * 资料索取 添加
     * @param dataRequestEntity
     * @return
     */
    public boolean insertDataRequestMapper(DataRequestEntity dataRequestEntity);

    /**
     * 查询资料索取
     * @param dataRequestEntity
     * @return
     */
    public List<DataRequestEntity> queryDataRequests(DataRequestEntity dataRequestEntity);

    /**
     * 删除资料索取
     * @param ids
     * @return
     */
    public boolean delDataRequest(@Param("ids") String[] ids);

    /**
     * 添加投诉建议
     * @param complaintSuggestEntity
     * @return
     */
    public boolean insertComplaintSuggestMapper(ComplaintSuggestEntity complaintSuggestEntity);

    /**
     * 查询投诉建议
     * @param complaintSuggestEntity
     * @return
     */
    public List<ComplaintSuggestEntity> queryComplaintSuggests(ComplaintSuggestEntity complaintSuggestEntity);

    /**
     * 删除投诉建议
     * @param ids
     * @return
     */
    public boolean delComplaintSuggest(@Param("ids") String[] ids);
    /**
     * 查询合作伙伴
     * @return
     */
    public List<PartnerEntity> queryPartnerMapper(PartnerEntity pt);

}
